package com.byzk.p2p.admin.money.util;

import java.util.HashMap;
import java.util.Map;

public class BaofuUtil {

    /*宝付商户号*/
    public static final String MemberID="619681";

    /*宝付终端号*/
    public static final String TerminalID="26934";

    /*宝付接口版本号*/
    public static final String InterfaceVersion="4.0";

    /*加密类型*/
    public static final String KeyType="1";

    /*通知类型*/
    public static final String NoticeType="1";

    /*宝付前端回调地址*/
    public static final String PageUrl="https://gw.baofoo.com/payindex";

    /* 交易通知地址 前端地址*/
    public static final String ReturnUrl="/pay/front";

    /*交易通知地址 服务端地址*/
    public static final String ServiceUrl="/pay/admin";

    /*md5密钥(KEY)*/
    public static final String Md5key="qsqyj7b3mleagcz7";

    /*本地路径*/
    public static final String ServerUrl="http://panyijr.com";

    public static Map<String, String> bankMap = new HashMap<String, String>();
    
    public static Map<String, String> bankMap2 = new HashMap<String, String>();
    
    static {
    	bankMap.put("01030000", "农业银行");
    	bankMap.put("03010000", "交通银行");
    	bankMap.put("01020000", "工商银行");
    	bankMap.put("01000000", "邮政储蓄银行");
    	bankMap.put("03060000", "广发银行");
    	bankMap.put("03050000", "民生银行");
    	bankMap.put("03070000", "平安银行");
    	bankMap.put("03080000", "招商银行");
    	bankMap.put("01040000", "中国银行");
        bankMap.put("01050000", "建设银行");
        bankMap.put("03030000", "光大银行");
        bankMap.put("03090000", "兴业银行");
        bankMap.put("03020000", "中信银行");
        bankMap.put("03100000", "浦发银行");
        
        bankMap.put("03040000", "华夏银行");
        bankMap.put("03200000", "东亚银行");
        bankMap.put("04012900", "上海银行");
        bankMap.put("04083320", "宁波银行");
    }
    
    static {
    	bankMap2.put("ABC", "01030000");
    	bankMap2.put("BOCOM", "03010000");
    	bankMap2.put("ICBC", "01020000");
    	bankMap2.put("PSBC", "01000000");
    	bankMap2.put("GDB", "03060000");
    	bankMap2.put("CMBC", "03050000");
    	bankMap2.put("PAB", "03070000");
    	bankMap2.put("CMB", "03080000");
    	bankMap2.put("BOC", "01040000");
        bankMap2.put("CCB", "01050000");
        bankMap2.put("CEB", "03030000");
        bankMap2.put("CIB", "03090000");
        bankMap2.put("CITIC", "03020000");
        bankMap2.put("HXCB", "03100000");
    }
}
